﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Urna_TP.Models;

namespace Urna_TP.Controllers.administracion
{
    public class AdministracionController : Controller
    {
        private UrnaPescarEntities2 db = new UrnaPescarEntities2();
        //
        // GET: /Administracion/

        public ActionResult Index()
        {
            var votos = db.Urna.ToList();
            return View(model:votos);
        }
    }
}
